package com.todo.biz.iface.frontend.request;

import com.todo.biz.common.enums.CollectSetTypeEnum;
import com.todo.common.common.entity.request.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author azhebuxing
 * @date 2024/5/10 15:55
 * @description
 */
@Data
@Schema(title = "根据类型查询收藏集和入参", description = "根据类型查询收藏集和入参")
public class QueryCollectSetByTypeParam  extends PageRequest{

    /**
     * 美食、门店、景点等
     * {@link CollectSetTypeEnum}
     */
    @Schema(title = "收藏类型", description = "收藏类型：美食、门店、景点等")
    private Integer collectType;

    public boolean baseCheck() {
        if (collectType == null){
            return false;
        }
        return true;
    }
}
